package org.blade.personal.utils.pdm;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.blade.personal.mode.BaseEntity;

@Entity
@Table(name = "pdm_column")
public class PdmColumn extends BaseEntity<Long>{

	@Column(name="name")
	private String name;
	
	@Column(name="code")
	private String code;
	
	@Column(name="creation_date")
	private String creationDate;
	
	@Column(name="creator")
	private String creator;
	
	@Column(name="modification_date")
	private String modificationDate; 
	
	@Column(name="modifier")
	private String modifier;
	
	@Column(name="comment")
	private String comment;
	
	@Column(name="data_type")
	private String dataType;
	
	@Column(name="is_primary_key")
	private String isPrimaryKey;
	
	@Column(name="length")
	private Integer length;
	
	@Column(name="precisions")
	private Integer precision;
	
	@Column(name="pdm_table_id")
	private String pdmTableId;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getModificationDate() {
		return modificationDate;
	}

	public void setModificationDate(String modificationDate) {
		this.modificationDate = modificationDate;
	}

	public String getModifier() {
		return modifier;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getIsPrimaryKey() {
		return isPrimaryKey;
	}

	public void setIsPrimaryKey(String isPrimaryKey) {
		this.isPrimaryKey = isPrimaryKey;
	}

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public Integer getPrecision() {
		return precision;
	}

	public void setPrecision(Integer precision) {
		this.precision = precision;
	}

	public String getPdmTableId() {
		return pdmTableId;
	}

	public void setPdmTableId(String pdmTableId) {
		this.pdmTableId = pdmTableId;
	}

	
}
